/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package de.blitzcoder.collide.engine.parser;

/**
 *
 * @author blitzcoder
 */
public class CodeModuleInfo extends CodeObject {

    public CodeModuleInfo(String name,int line) {
        super(name,line);
    }

    @Override
    public String getObjectType() {
        return "ModuleInfo";
    }

    public boolean equals(Object o) {
        if (o instanceof CodeModuleInfo) {
            CodeModuleInfo cmi = (CodeModuleInfo) o;
            return cmi.getName().equals(getName());
        }
        return false;
    }
    
}
